/**
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package validators.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Field;

/**
 * A validation tag for class field.
 * 
 * @author arruda
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Validate {
    Class useValidator();
    String fieldDependence() default "";
    boolean nullable() default false;
}
